package model;

import java.util.HashSet;
import java.util.Set;

public class DetectorDePids implements Estrategia {
	private Parser parser;
	private Set pids = new HashSet();

	public DetectorDePids() {
	}
	@Override
	public void actuar(Packet packet) {
		getPids().add(packet.getPid());
	}
	/**
	 * @return the pids
	 */
	public Set<Integer> getPids() {
		return pids;
	}
	/**
	 * @param pids the pids to set
	 */
	public void setPids(Set pids) {
		this.pids = pids;
	}

}
